package com.mrd.gtimpframe.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * T_BIZ_COMMODITY
 * @author dusy  2017-09-22
 * 报关商品信息表
 */
public class Commodity implements Serializable {
    /**
     * null
     */
    private String id;

    /**
     * 商品名称(旧)
     */
    private String name;

    /**
     * 商品编码(旧)
     */
    private String codeT;

    /**
     * 规格型号(旧)
     */
    private String goodsMode;

    /**
     * 成交数量(旧)
     */
    private String count;

    /**
     * 成交总价(旧)
     */
    private String totalPrice;

    /**
     * 币制(旧)
     */
    private String currency;

    /**
     * 第二数量(旧)
     */
    private String secondCount;

    /**
     * 目的地(旧)
     */
    private String destination;

    /**
     * 附加编码(旧)
     */
    private String codeS;

    /**
     * 单位(旧)
     */
    private String unit;

    /**
     * 成交单价(旧)
     */
    private String unitPrice;

    /**
     * 第二单位(旧)
     */
    private String secondUnit;

    /**
     * 征免(旧)
     */
    private String levymode;

    /**
     * 备案序号(旧)
     */
    private String recordId;

    /**
     * 法定数量(旧)
     */
    private String legalCount;

    /**
     * 法定单位(旧)
     */
    private String legalUnit;

    /**
     * 版本号(旧)
     */
    private String versionNo;

    /**
     * 货号(旧)
     */
    private String goodsNo;

    /**
     * 生产厂商(旧)
     */
    private String producer;

    /**
     * 工缴费(旧)
     */
    private String processingFee;

    /**
     * 业务外键(旧)
     */
    private String declarationId;

    /**
     * 手册项号
     */
    private String handbookItemNo;

    /**
     * 件数
     */
    private String goodsNumber;

    /**
     * 净重
     */
    private String goodsNetWeight;

    /**
     * 毛重
     */
    private String goodsGrossWeight;

    /**
     * 序号
     */
    private String indexNum;

    /**
     * 集装箱号
     */
    private String containerNo;

    /**
     * 装箱单备注
     */
    private String packinglistRemark;

    /**
     * 规格(客户手填)
     */
    private String keyElements;

    /**
     * 具体包装种类
     */
    private String packageType;

    /**
     * 目的地代码
     */
    private String destinationCode;

    /**
     * 原产国
     */
    private String originCountry;

    /**
     * 原产国代码
     */
    private String originCountryCode;

    /**
     * QP导入时间
     */
    private Date qpdrsj;

    /**
     * 合同商品项目序号
     */
    private String contractNumber;

    /**
     * 箱唛
     */
    private String boxMark;

    /**
     * 计价单位代码
     */
    private String unitCode;

    /**
     * 币制代码
     */
    private String currencyCode;

    /**
     * 法定单位代码
     */
    private String legalUnitCode;

    /**
     * 征免代码
     */
    private String levymodeCode;

    /**
     * 第二单位代码
     */
    private String secondUnitCode;

    /**
     * T_BIZ_COMMODITY
     */
    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getCodeT() {
        return codeT;
    }

    public void setCodeT(String codeT) {
        this.codeT = codeT == null ? null : codeT.trim();
    }

    public String getGoodsMode() {
        return goodsMode;
    }

    public void setGoodsMode(String goodsMode) {
        this.goodsMode = goodsMode == null ? null : goodsMode.trim();
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count == null ? null : count.trim();
    }

    public String getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(String totalPrice) {
        this.totalPrice = totalPrice == null ? null : totalPrice.trim();
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency == null ? null : currency.trim();
    }

    public String getSecondCount() {
        return secondCount;
    }

    public void setSecondCount(String secondCount) {
        this.secondCount = secondCount == null ? null : secondCount.trim();
    }

    public String getDestination() {
        return destination;
    }

    public void setDestination(String destination) {
        this.destination = destination == null ? null : destination.trim();
    }

    public String getCodeS() {
        return codeS;
    }

    public void setCodeS(String codeS) {
        this.codeS = codeS == null ? null : codeS.trim();
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit == null ? null : unit.trim();
    }

    public String getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(String unitPrice) {
        this.unitPrice = unitPrice == null ? null : unitPrice.trim();
    }

    public String getSecondUnit() {
        return secondUnit;
    }

    public void setSecondUnit(String secondUnit) {
        this.secondUnit = secondUnit == null ? null : secondUnit.trim();
    }

    public String getLevymode() {
        return levymode;
    }

    public void setLevymode(String levymode) {
        this.levymode = levymode == null ? null : levymode.trim();
    }

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId == null ? null : recordId.trim();
    }

    public String getLegalCount() {
        return legalCount;
    }

    public void setLegalCount(String legalCount) {
        this.legalCount = legalCount == null ? null : legalCount.trim();
    }

    public String getLegalUnit() {
        return legalUnit;
    }

    public void setLegalUnit(String legalUnit) {
        this.legalUnit = legalUnit == null ? null : legalUnit.trim();
    }

    public String getVersionNo() {
        return versionNo;
    }

    public void setVersionNo(String versionNo) {
        this.versionNo = versionNo == null ? null : versionNo.trim();
    }

    public String getGoodsNo() {
        return goodsNo;
    }

    public void setGoodsNo(String goodsNo) {
        this.goodsNo = goodsNo == null ? null : goodsNo.trim();
    }

    public String getProducer() {
        return producer;
    }

    public void setProducer(String producer) {
        this.producer = producer == null ? null : producer.trim();
    }

    public String getProcessingFee() {
        return processingFee;
    }

    public void setProcessingFee(String processingFee) {
        this.processingFee = processingFee == null ? null : processingFee.trim();
    }

    public String getDeclarationId() {
        return declarationId;
    }

    public void setDeclarationId(String declarationId) {
        this.declarationId = declarationId == null ? null : declarationId.trim();
    }

    public String getHandbookItemNo() {
        return handbookItemNo;
    }

    public void setHandbookItemNo(String handbookItemNo) {
        this.handbookItemNo = handbookItemNo == null ? null : handbookItemNo.trim();
    }

    public String getGoodsNumber() {
        return goodsNumber;
    }

    public void setGoodsNumber(String goodsNumber) {
        this.goodsNumber = goodsNumber == null ? null : goodsNumber.trim();
    }

    public String getGoodsNetWeight() {
        return goodsNetWeight;
    }

    public void setGoodsNetWeight(String goodsNetWeight) {
        this.goodsNetWeight = goodsNetWeight == null ? null : goodsNetWeight.trim();
    }

    public String getGoodsGrossWeight() {
        return goodsGrossWeight;
    }

    public void setGoodsGrossWeight(String goodsGrossWeight) {
        this.goodsGrossWeight = goodsGrossWeight == null ? null : goodsGrossWeight.trim();
    }

    public String getIndexNum() {
        return indexNum;
    }

    public void setIndexNum(String indexNum) {
        this.indexNum = indexNum == null ? null : indexNum.trim();
    }

    public String getContainerNo() {
        return containerNo;
    }

    public void setContainerNo(String containerNo) {
        this.containerNo = containerNo == null ? null : containerNo.trim();
    }

    public String getPackinglistRemark() {
        return packinglistRemark;
    }

    public void setPackinglistRemark(String packinglistRemark) {
        this.packinglistRemark = packinglistRemark == null ? null : packinglistRemark.trim();
    }

    public String getKeyElements() {
        return keyElements;
    }

    public void setKeyElements(String keyElements) {
        this.keyElements = keyElements == null ? null : keyElements.trim();
    }

    public String getPackageType() {
        return packageType;
    }

    public void setPackageType(String packageType) {
        this.packageType = packageType == null ? null : packageType.trim();
    }

    public String getDestinationCode() {
        return destinationCode;
    }

    public void setDestinationCode(String destinationCode) {
        this.destinationCode = destinationCode == null ? null : destinationCode.trim();
    }

    public String getOriginCountry() {
        return originCountry;
    }

    public void setOriginCountry(String originCountry) {
        this.originCountry = originCountry == null ? null : originCountry.trim();
    }

    public String getOriginCountryCode() {
        return originCountryCode;
    }

    public void setOriginCountryCode(String originCountryCode) {
        this.originCountryCode = originCountryCode == null ? null : originCountryCode.trim();
    }

    public Date getQpdrsj() {
        return qpdrsj;
    }

    public void setQpdrsj(Date qpdrsj) {
        this.qpdrsj = qpdrsj;
    }

    public String getContractNumber() {
        return contractNumber;
    }

    public void setContractNumber(String contractNumber) {
        this.contractNumber = contractNumber == null ? null : contractNumber.trim();
    }

    public String getBoxMark() {
        return boxMark;
    }

    public void setBoxMark(String boxMark) {
        this.boxMark = boxMark == null ? null : boxMark.trim();
    }

    public String getUnitCode() {
        return unitCode;
    }

    public void setUnitCode(String unitCode) {
        this.unitCode = unitCode == null ? null : unitCode.trim();
    }

    public String getCurrencyCode() {
        return currencyCode;
    }

    public void setCurrencyCode(String currencyCode) {
        this.currencyCode = currencyCode == null ? null : currencyCode.trim();
    }

    public String getLegalUnitCode() {
        return legalUnitCode;
    }

    public void setLegalUnitCode(String legalUnitCode) {
        this.legalUnitCode = legalUnitCode == null ? null : legalUnitCode.trim();
    }

    public String getLevymodeCode() {
        return levymodeCode;
    }

    public void setLevymodeCode(String levymodeCode) {
        this.levymodeCode = levymodeCode == null ? null : levymodeCode.trim();
    }

    public String getSecondUnitCode() {
        return secondUnitCode;
    }

    public void setSecondUnitCode(String secondUnitCode) {
        this.secondUnitCode = secondUnitCode == null ? null : secondUnitCode.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", codeT=").append(codeT);
        sb.append(", goodsMode=").append(goodsMode);
        sb.append(", count=").append(count);
        sb.append(", totalPrice=").append(totalPrice);
        sb.append(", currency=").append(currency);
        sb.append(", secondCount=").append(secondCount);
        sb.append(", destination=").append(destination);
        sb.append(", codeS=").append(codeS);
        sb.append(", unit=").append(unit);
        sb.append(", unitPrice=").append(unitPrice);
        sb.append(", secondUnit=").append(secondUnit);
        sb.append(", levymode=").append(levymode);
        sb.append(", recordId=").append(recordId);
        sb.append(", legalCount=").append(legalCount);
        sb.append(", legalUnit=").append(legalUnit);
        sb.append(", versionNo=").append(versionNo);
        sb.append(", goodsNo=").append(goodsNo);
        sb.append(", producer=").append(producer);
        sb.append(", processingFee=").append(processingFee);
        sb.append(", declarationId=").append(declarationId);
        sb.append(", handbookItemNo=").append(handbookItemNo);
        sb.append(", goodsNumber=").append(goodsNumber);
        sb.append(", goodsNetWeight=").append(goodsNetWeight);
        sb.append(", goodsGrossWeight=").append(goodsGrossWeight);
        sb.append(", indexNum=").append(indexNum);
        sb.append(", containerNo=").append(containerNo);
        sb.append(", packinglistRemark=").append(packinglistRemark);
        sb.append(", keyElements=").append(keyElements);
        sb.append(", packageType=").append(packageType);
        sb.append(", destinationCode=").append(destinationCode);
        sb.append(", originCountry=").append(originCountry);
        sb.append(", originCountryCode=").append(originCountryCode);
        sb.append(", qpdrsj=").append(qpdrsj);
        sb.append(", contractNumber=").append(contractNumber);
        sb.append(", boxMark=").append(boxMark);
        sb.append(", unitCode=").append(unitCode);
        sb.append(", currencyCode=").append(currencyCode);
        sb.append(", legalUnitCode=").append(legalUnitCode);
        sb.append(", levymodeCode=").append(levymodeCode);
        sb.append(", secondUnitCode=").append(secondUnitCode);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}